<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/store/storeTop/save}">
        <input type="hidden" name="id" th:if="${storeTop}" th:value="${storeTop.id}">
         <div class="layui-form-item">
            <label class="layui-form-label">天数</label>
         <div class="layui-input-inline">
                <select name="day" >
                      <option value="1">7天</option>
                      <option value="2">半个月</option>
                      <option value="3">一个月</option>
                      <option value="4">一季度</option>
                      <option value="5">半年</option>
                      <option value="6">一年</option>                                     
                </select> 
             </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">次数</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="times" placeholder="请输入次数" th:value="${storeTop?.times}">
            </div>
            <div>（次）</div>
        </div>
       <div class="layui-form-item">
            <label class="layui-form-label">价格</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="curmoney" placeholder="请输入当地价格" th:value="${storeTop?.curmoney}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="num" placeholder="请输入排序" th:value="${storeTop?.num}">
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>